package com.linln.admin.produce.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author timo
 * @date 2021/04/04
 */
@Data
public class ProduceProcessPlanValid implements Serializable {
    @NotEmpty(message = "生产工单编码不能为空")
    private String order_code;
    @NotNull(message = "生产计划id不能为空")
    private Long produce_plan_id;
    @NotNull(message = "工序id不能为空")
    private Long process_id;
    @NotNull(message = "计划完成工序总数量不能为空")
    private Integer plan_total_num;
    @NotEmpty(message = "商品编码不能为空")
    private String good_code;
    @NotNull(message = "部件id不能为空")
    private Long component_id;
}